package com.tarena.lbs.user.service;

import com.tarena.lbs.base.protocol.exception.BusinessException;
import com.tarena.lbs.base.protocol.pager.PageResult;
import com.tarena.lbs.user.api.pojo.dto.AdminDto;
import com.tarena.lbs.user.pojo.param.AdminParam;
import com.tarena.lbs.user.pojo.query.AdminQuery;
import com.tarena.lbs.user.pojo.vo.AdminVO;

import java.util.List;

public interface AdminService {

//    AdminVO detail() throws BusinessException, BusinessException;

    AdminVO detailAdmin(Integer id);

    AdminDto detail(Integer id);

    PageResult<AdminVO> pageList(AdminQuery query);


    void save(AdminParam param) throws BusinessException;

    List<AdminVO> selectList(AdminQuery query);
}



















